package com.weixin.pojo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@XStreamAlias("xml")
public class ScanInfo {
    private String ToUserName;
    private String FromUserName;
    private String CreateTime;
    private String MsgType;
    private String AgentID;
    private String Event;
    private String EventKey;
    private ScanCodeInfo ScanCodeInfo;

    @Data
    @XStreamAlias("ScanCodeInfo")
    public static class ScanCodeInfo {
        private String ScanType;
        private String ScanResult;

    }
}
